package cn.jcet.module.stat.service.impl;

import cn.jcet.module.stat.domain.BaseEntity;
import cn.jcet.module.stat.mapper.StatMapper;
import cn.jcet.module.stat.service.StatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther Yu_Yang
 * @Date 2019/11/9
 */
@Service
public class StatServiceImpl implements StatService {

    @Autowired
    private StatMapper statMapper;

    @Override
    public List<BaseEntity> loadCustomerAreaStatList() {
        return this.statMapper.queryCustomerAreaStat();
    }

    @Override
    public List<BaseEntity> loadPayTypeInportStatList() {
        return this.statMapper.queryInportPayTypeStat();
    }
}
